﻿Public Class thuocno
    Private _matn As String
    Private _tentn As String
    Private _tocdono As String
    Private _knsinhcong As String
    Private _knchiunuoc As String
    Private _hschuyendoi As String
    Private _donvitinh As String
    Private _giathanh As Single
    Public Property Mathuocno() As String
        Get
            Return _matn
        End Get
        Set(ByVal value As String)
            _matn = value
        End Set
    End Property
    Public Property Tenthuocno() As String
        Get
            Return _tentn
        End Get
        Set(ByVal value As String)
            _tentn = value
        End Set
    End Property
    Public Property Tocdono() As String
        Get
            Return _tocdono
        End Get
        Set(ByVal value As String)
            _tocdono = value
        End Set
    End Property
    Public Property Khanangsinhcong() As String
        Get
            Return _knsinhcong
        End Get
        Set(ByVal value As String)
            _knsinhcong = value
        End Set
    End Property
    Public Property Khanangchiunuoc() As String
        Get
            Return _knchiunuoc
        End Get
        Set(ByVal value As String)
            _knchiunuoc = value
        End Set
    End Property
    Public Property Hesochuyendoi() As Single
        Get
            Return _hschuyendoi
        End Get
        Set(ByVal value As Single)
            _hschuyendoi = value
        End Set
    End Property
    Public Property Donvitinh() As String
        Get
            Return _donvitinh
        End Get
        Set(ByVal value As String)
            _donvitinh = value
        End Set
    End Property
    Public Property Giathanh() As String
        Get
            Return _giathanh
        End Get
        Set(ByVal value As String)
            _giathanh = value
        End Set
    End Property
    Public Sub New(ByVal matn As String, ByVal tentn As String, ByVal tocdono As String, ByVal knsinhcong As String, ByVal knchiunuoc As String, ByVal hschuyendoi As String, ByVal donvitinh As String, ByVal giathanh As Single)
        Me._matn = matn
        Me._tentn = tentn
        Me._tocdono = tocdono
        Me._knsinhcong = knsinhcong
        Me._knchiunuoc = knchiunuoc
        Me._hschuyendoi = hschuyendoi
        Me._donvitinh = donvitinh
        Me._giathanh = giathanh
    End Sub
End Class
